package com.five.pojo.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("gxa_menu")
public class Menu implements java.io.Serializable{
    /**
     * 菜单ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String perms;
    private String path;
    private String component;
    @TableField("parent_id")
    private Long parentId;
    private String icon;
    private Integer sort;
    private String type;
    private String redirect;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("del_flag")
    @TableLogic(value = "0", delval = "1")
    private String delFlag;

    @TableField("is_frame")
    private String isFrame;
}
